<div class="sideBox">
	<h3  class="head">					
		<span class="right"></span>
		<span class="center"><?php echo $this->translate('information')?></span>
	</h3>
	<div class="cornertop"><div class="right"></div><div class="center"></div></div>
	<div class="body">
		<ul class="negocioInfo">
			<li class="telefono"><span><?php echo $this->negocio->telefono?></span></li>
			<li class="compraMinima"><span><?php echo $this->translate('minimumPurchase')?>: <?php echo $this->translate('minimumPurchaseExplain')?></span></li>
			<li class="tiempoEntrega"><span><?php echo $this->translate('deliveryTime')?>: <?php echo $this->negocio->tiempoEntrega?></span></li>
			<li class="apertura"><span>
			<?php 
			if ($this->negocio->estaAbierto()){
				echo $this->translate('open');
			} elseif( $this->negocio->abreHoy()){
				
				
				$horariosHoy = $this->negocio->horariosHoy();
				
//				print_r( $horariosHoy );
//				exit;
				
				$desde = $horariosHoy[0][0];
				$hasta = $horariosHoy[0][1];
				
				
				$text = sprintf(	$this->translate('scheduleToday'), 
								ucfirst($desde->toString(Zend_Date::WEEKDAY)), 
								$desde->toString(Zend_Date::TIME_SHORT), 
								$hasta->toString(Zend_Date::TIME_SHORT)
							);

				echo $text;			
							
			} else {
				echo $this->translate('disconnected');
			}
			
			
			?></span></li>						
			</span></li>
		</ul>
	</div>
	<div class="cornerbottom"><div class="right"></div><div class="center"></div></div>
</div>


